<!--  -->
<template>
    <div class="recommend">
        <div v-for="(item, index) in recommends" :key="index">
            <a :href="item.link">
                <img :src="item.image" alt="">
                <div class="title">{{item.title}}</div>
            </a>
        </div>
    </div>
</template>

<script>
    export default {
        name:'',
        props:{
            recommends:{
                typr:Array,
                default(){
                    return[]
                }
            }
        }

    }

</script>

<style scoped>
.recommend{
    display: flex;
    width: 100%;
    text-align: center;
    padding: 20px 0 20px 0;
    border-bottom: 8px solid #eee;
}
.recommend>div{
    flex: 1;
}
.recommend div img{
    width: 70px;
    margin-bottom: 10px;
}
.title{
    line-height: 20px;
    text-align: center;
    font-size: 14px;
}

</style>